package cn.mdx.mapper;

import cn.mdx.pojo.*;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.ArrayList;

/**
 * @author 谢模全
 *
 */
@Repository
public interface VoMapper {
    /**
     *
     * @param uid 主键
     * @return 技术方详细信息
     */
    SkillUserVO selectSkillUserById(Integer uid);

    ArrayList<ServiceVo> getServiceById(Integer uid);

    ArrayList<DemandVO> getDemandVo(Integer nid);

    ArrayList<SkillListVO> getSkillList(@Param("info") String info);

    ArrayList<ServiceVo> findServiceList(@Param("info") String info);

    ResultVO findResultVo(Integer rid);

    ArrayList<StatisticsVO> getByYear(@Param("cid") Integer cid);

    ArrayList<StatisticsVO> getByQuarter(@Param("cid") Integer cid);

    ArrayList<StatisticsVO> getByMonth(@Param("cid") Integer cid);
}
